/*访问后台的代码*/
layui.define([], function(exports) {
    var api={
            updateDoctoralSubsidy:function(form,callback){
                Lib.submitForm("/cms/doctoralSubsidy/update.json",form,{},callback)
            },
            addDoctoralSubsidy:function(form,callback){
                 Lib.submitForm("/cms/doctoralSubsidy/add.json?judge=add",form,{},callback)
             },
             savedeclaration: function (form, callback) {
                 Lib.submitForm("/cms/doctoralSubsidy/add.json?judge=declare", form, {}, callback)
             },
             editandsave:function(form,callback){
                 Lib.submitForm("/cms/doctoralSubsidy/update.json?judge=add",form,{},callback)
             },
            editorialapplication:function(form,callback){
                Lib.submitForm("/cms/doctoralSubsidy/update.json?judge=declare",form,{},callback)
             },
        AcceptanceOK: function (form, callback) {//受理通过
            Lib.submitForm("/cms/doctoralSubsidy/AcceptanceOK.json", form, {}, callback)
        },
        FirstTrial: function (form, callback) {//初审通过
            Lib.submitForm("/cms/doctoralSubsidy/FirstTrial.json", form, {}, callback)
        },
        ReviewThrough: function (form, callback) {//复审通过
            Lib.submitForm("/cms/doctoralSubsidy/ReviewThrough.json", form, {}, callback)
        },
        AdmissibleReturn: function (form, callback) {//受理退回
            Lib.submitForm("/cms/doctoralSubsidy/AdmissibleReturn.json", form, {}, callback)
        },
        initialReview: function (form, callback) {//初审退回
            Lib.submitForm("/cms/doctoralSubsidy/initialReview.json", form, {}, callback)
        },
        Reexamination: function (form, callback) {//复审退回
            Lib.submitForm("/cms/doctoralSubsidy/Reexamination.json", form, {}, callback)
        },
        Admissibility: function (form, callback) {//受理终止
            Lib.submitForm("/cms/doctoralSubsidy/Admissibility.json", form, {}, callback)
        },
        FirstTrialTermination: function (form, callback) {//初审终止
            Lib.submitForm("/cms/doctoralSubsidy/FirstTrialTermination.json", form, {}, callback)
        },
        RetrialTermination: function (form, callback) {//复审终止
            Lib.submitForm("/cms/doctoralSubsidy/RetrialTermination.json", form, {}, callback)
        },
            del:function(ids,callback){
                Common.post("/cms/doctoralSubsidy/delete.json",{"ids":ids},function(){
                    callback();
                })
            }
		
    };
    exports('doctoralSubsidyApi',api);
});